package com.fagejiang.neo4j.relation;

import com.fagejiang.neo4j.constants.NeoConsts;
import com.fagejiang.neo4j.model.Alipay;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.neo4j.ogm.annotation.*;

import java.io.Serializable;
import java.util.List;

/**
 * 你还没有写描述儿~
 *
 * @author <发哥讲Java-694204477@qq.com>
 * @version 1.0
 * @date 2021-07-07 10:42
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@RelationshipEntity(type = NeoConsts.R_ACCOUNT_OF_ACCOuNT)
public class Transfer implements Serializable {
    @Id
    private Long id;
    @StartNode
    private Alipay startNode;
    @EndNode
    private Alipay endNode;

    @Property(name = "payFee")
    private List<Double> payFeeList;

}
